<%--
  Created by IntelliJ IDEA.
  User: wzm
  Date: 2023/3/8
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
	<title>Title</title>
</head>
<body>
<h1 style="text-align: center">九九乘法表</h1>
<center>
<table style="text-align: center">
	<%--外层循环通知行数--%>
	<%
		for(int i = 1; i <= 9; i++){
	%>
	<tr>
		<%--内层循环控制一行的单元格  1 - i --%>
			<%
				for(int j = 1; j <= i; j++){
			%>
				<td><%=j + "x" + i + "=" + (j * i)%></td>
			<%
				}
			%>
	</tr>
	<%
        }
	%>
</table>
</center>
</body>
</html>
